MCPcopy Create free account
hub / github.com/PowerShell/DSC / find_resource

Method find_resource

lib/dsc-lib/src/lib.rs:54–56  ·  view source on GitHub ↗

Find a resource by name. # Arguments `name` - The name of the resource to find, can have wildcards.

(&mut self, filter: &DiscoveryFilter)

Source from the content-addressed store, hash-verified

52 /// * `name` - The name of the resource to find, can have wildcards.
53 ///
54 pub fn find_resource(&mut self, filter: &DiscoveryFilter) -> Result<Option<&DscResource>, DscError> {
55 self.discovery.find_resource(filter)
56 }
57
58 pub fn list_available(
59 &mut self,

Callers 8

create_or_updateMethod · 0.45
previewMethod · 0.45
getMethod · 0.45
deleteMethod · 0.45
get_resourceFunction · 0.45
invoke_dsc_resourceMethod · 0.45
show_dsc_resourceMethod · 0.45
list_dsc_resourcesMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected